package sgi.message;
/** updating data_layer subscription column of the username who requested a subscription */
@SuppressWarnings("serial")
public class MessageAcceptDataLayer extends Message {
		private String UserName;
		private String QcheckDataLayers;
	public MessageAcceptDataLayer(String UserName) {
		super("select balance from customers where username = '"+UserName+"'");
		setUserName(UserName);
		setQcheckDataLayers("select COUNT(*) from data_layer_subscription where username = '"+UserName+"' AND commerce=1 AND infrastracture=1");
	}
	public String getUserName() {
		return UserName;
	}
	public void setUserName(String userName) {
		this.UserName = userName;
	}
	public String getQcheckDataLayers() {
		return QcheckDataLayers;
	}
	public void setQcheckDataLayers(String qcheckDataLayers) {
		QcheckDataLayers = qcheckDataLayers;
	}

}
